﻿using SmartCity.ProcessEngine.Domain.Entities;

namespace SmartCity.ProcessEngine.Api.Read.Dtos
{
    public class FormFieldDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 关联的流程表单
        /// </summary>
        public long FormId { get; set; }
        /// <summary>
        /// 字段名称
        /// </summary>
        public string FieldName { get; set; }
        /// <summary>
        /// 字段描述
        /// </summary>
        public string FieldDes { get; set; }
        /// <summary>
        /// 字段类型
        /// </summary>
        public FieldTypeEnum FieldType { get; set; }
        /// <summary>
        /// 组件
        /// </summary>
        public ComponentEnum FieldComponent { get; set; }
        /// <summary>
        /// 组件默认值
        /// </summary>
        public string FieldValue { get; set; }
        /// <summary>
        /// 组件选项集合 (json 数组)
        /// </summary>
        public string FieldOptions { get; set; }
    }
}
